<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>

<body background="imageSource/04.gif" >

<font color="#882211" size="5">還書系統</font><p>
<jsp:useBean id="bb" class="BookDB.BookBean" scope="request"/>
<jsp:useBean id="rr" class="BookReturn.BookRecordBean" scope="request"/>
<jsp:useBean id="cc" class="Loginout.UserBean" scope="request"/>

<Form method="Post" action="Returnbystaff">
<table border="1">
<tr><td>館藏編號</td><td> <input type="text" name="bookid" value="<%=bb.getBookid()%>" readonly></td></tr>
<tr><td>讀者編號</td><td> <input type="text" name="userid" value="<%=rr.getUserID()%>" readonly></td></tr>
<tr><td>讀者姓名</td><td>  <input type="text" name="username" value="<%=cc.getUsername()%>" readonly></td></tr>
<tr><td>ISBN編號</td><td>  <input type="text" name="isbn" value="<%=rr.getIsbn()%>" readonly></td></tr>
<tr><td>書藉名稱</td><td> <input type="text" name="bookname" value="<%=bb.getBookname()%>" readonly></td></tr>
<tr><td>書藉分類</td><td>  <input type="text" name="CALID" value="<%=bb.getCalid()%>" readonly></td></tr>
<tr><td>错書日期</td><td><input type="text" name="borrowdate" value="<%=rr.getBorrowDate()%>" readonly></td></tr>
<tr><td>最後還書日期</td><td><input type="text" name="expirydate" value="<%=rr.getExpiryDate()%>" readonly></td></tr>
 <input type="hidden" name="recid" value="<%=rr.getRecID()%>" readonly><p>
<tr><td>
讀者借書總數 </td><td> <input type="text" name="bo" value="<%=cc.getBorrowingbook() %>" readonly></td></tr> 
</table>
<p>
<input type="submit" value="確認">
</Form>
<p>
<Form action="BookMag.jsp">
<input type="submit" value="取消" style="color:#F00"></Form>

</body>
</html>